package com.alan.service;

import com.alan.entity.RestBean;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface VocabularyService {

    RestBean getList();

    RestBean goLearn(Integer listId,Integer userId);

    RestBean getReviseList(Integer userId);

    RestBean setSchedule(Integer userId, Integer listId);


    RestBean updateReviseList(Integer userId, List<Integer> reviseList);

    RestBean clearReviseList(Integer userId);
}
